TaskObservableMethodBuilder struct¶
Defined in
Namespace: System.Runtime.CompilerServices
Assembly: System.Reactive.dll
Full name: System.Runtime.CompilerServices.TaskObservableMethodBuilder<T>
Modifiers: public sealed
Summary¶
Represents a builder for asynchronous methods that return a task-like ITaskObservable.
Applies to
netstandard2.0
Properties¶
| Name | Summary |
|---|---|
| Task | Gets the observable sequence for this builder. |
Methods¶
| Name | Summary |
|---|---|
| static Create | Creates an instance of the [TaskObservableMethodBuilder](# struct. |
| Start | Begins running the builder with the associated state machine. |
| SetStateMachine | Associates the builder with the specified state machine. |
| SetResult | Marks the observable as successfully completed. |
| SetException | Marks the observable as failed and binds the specified exception to the observable sequence. |
| AwaitOnCompleted | Schedules the state machine to proceed to the next action when the specified awaiter completes. |
| AwaitUnsafeOnCompleted | Schedules the state machine to proceed to the next action when the specified awaiter completes. |